module.exports = function($scope, $state, $stateParams, $modalInstance, $resource,$modal,FileUploader,id,flag,toaster){
    console.log(id,flag);
    $scope.flag = flag;
	$scope.info = {
        'id' : id
    }
    $scope.cancel = function(){
		$modalInstance.close();
	}




};